﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ValidBox4Mvc.ValidRules;

namespace Domain.Model
{
    /// <summary>
    /// 推荐
    /// </summary>
    public class Recommend : EntityBase
    {
        /// <summary>
        /// 被推荐人id
        /// </summary>
        [Required]
        public Guid MyId { get; set; }

        /// <summary>
        /// 推荐人
        /// </summary>
        public virtual User My { get; set; }

        /// <summary>
        /// 推荐人id
        /// </summary>
        [Required]
        public Guid RecommenderId { get; set; }

    }
}
